<?php

	namespace app\store\model;

	use think\Db;
	use think\Model;


	class CartModel extends Model
	{
		protected $name               = 'store_cart';
		protected $autoWriteTimestamp = true;
        protected $type = ['create_time' => 'timestamp:Y-m-d H:i','update_time' => 'timestamp:Y-m-d H:i'];
		static public function inCart($data)
		{
			return self::create($data);
		}

	}